package cn.fczds.camhelper.user.mapper;

import cn.fczds.camhelper.user.pojo.dto.UserInfoQuery;
import cn.fczds.camhelper.user.pojo.dto.UserUpdateParam;
import cn.fczds.camhelper.user.pojo.entity.User;
import cn.fczds.camhelper.user.pojo.vo.UserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    UserVO selectByUsername(String username);

    void reg(User user);

    List<UserVO> selectUserInfo(UserInfoQuery userInfoQuery);

    void update(User user);

    UserVO selectById(Long userId);

    void insertMessage(User user);
}
